home *** CD-ROM | disk | FTP | other *** search
- property psp_mysprite, pi_mylistpos
- global go_airportdisplaymaster, gl_airportdisplaylist, gsp_iconsprite, gs_whatclicked, gc_whichmovienext
-
- on beginSprite me
- psp_mysprite = sprite(me.spriteNum)
- end
-
- on mouseEnter me
- if gl_airportdisplaylist.count >= pi_mylistpos then
- mylist = gl_airportdisplaylist[pi_mylistpos]
- if objectp(go_airportdisplaymaster) then
- go_airportdisplaymaster.changedisplayto(mylist.textlist)
- end if
- if objectp(gsp_iconsprite) then
- gsp_iconsprite.changeicon(mylist.icon)
- end if
- sendAllSprites(#rollovertimeline, mylist.menuItem)
- end if
- end
-
- on mouseLeave me
- sendAllSprites(#rollofftimeline)
- end
-
- on mouseUp me
- if gl_airportdisplaylist.count >= pi_mylistpos then
- mylist = gl_airportdisplaylist[pi_mylistpos]
- gs_whatclicked = mylist.mouseuplist.whatclicked
- if mylist.mouseuplist.action = #marker then
- go(mylist.mouseuplist.targetname)
- end if
- if mylist.mouseuplist.action = #movie then
- gc_whichmovienext = mylist.mouseuplist.targetname
- go("slide out")
- end if
- end if
- end
-
- on getPropertyDescriptionList me
- return [#pi_mylistpos: [#comment: "pi_mylistpos:", #format: #integer, #default: 1]]
- end
-